import { CursorManagerImpl } from "./CursorManagerImpl";
//class CursorManager
    
    export  class CursorManager
    {
        

        public static init(arg1: Object /* flash.display.Stage */): void
        {
            if (CursorManager._cursor.parent is flash.display.Stage) 
            {
                return;
            }
            arg1.addChild(CursorManager._cursor);
            return;
        }

        public static showCursor(arg1: string=""): void
        {
            if (arg1 == CursorManager._cursor.cursorStyle) 
            {
                return;
            }
            if (!(arg1 == CursorManager.Skill) && !(arg1 == CursorManager.PointMask) && CursorManager.isSkill()) 
            {
                return;
            }
            CursorManager._cursor.cursorStyle = arg1;
            return;
        }

        public static isSkill(): Boolean
        {
            return CursorManager.isCursorStyle(CursorManager.Skill) || CursorManager.isCursorStyle(CursorManager.PointMask);
        }

        public static hideCursor(): void
        {
            CursorManager._cursor.cursorStyle = CursorManager.NO_CURSOR;
            return;
        }

        public static get cursor(): CursorManagerImpl
        {
            return CursorManager._cursor;
        }

        public static isCursorStyle(arg1: string): Boolean
        {
            return arg1 == CursorManager._cursor.cursorStyle;
        }

        public static addFilters(arg1: Array<any>): void
        {
            cursor.addFilters(arg1);
            return;
        }

        public static clearFilters(): void
        {
            cursor.clearFilters();
            return;
        }

        public static /* const */FIX: string="fix";

        public static /* const */BUY: string="buy";

        public static /* const */SELL: string="sell";

        public static /* const */BATCH: string="batch";

        public static /* const */Skill: string="CursorManager.Skill";

        public static /* const */AddFriend: string="buy";

        public static /* const */Attack: string="CursorManager.Attack";

        public static /* const */Talk: string="CursorManager.Talk";

        public static /* const */Hand: string="CursorManager.Hand";

        public static /* const */Zoom: string="CursorManager.Zoom";

        public static /* const */Soul: string="CursorManager.Soul";

        public static /* const */UnSoul: string="CursorManager.UnSoul";

        public static /* const */PointMask: string="CursorManager.PointMask";

        public static /* const */PetMingEat: string="CursorManager.PetMingEat";

        public static /* const */PetMingLock: string="CursorManager.PetMingLock";

        public static /* const */PetMingUnLock: string="CursorManager.PetMingUnLock";

        public static /* const */Palm: string="CursorManager.Palm";

        public static /* const */Fist: string="CursorManager.Fist";

        public static /* const */NO_CURSOR: string="CursorManager.NO_CURSOR";

        public static /* const */HitEggOver: string="CursorManager.HitEggOver";

        public static /* const */HitEggDown: string="CursorManager.HitEggDown";

        /* internal */ static /* var */_cursor: CursorManagerImpl;
    }

            CursorManager._cursor = new CursorManagerImpl();
        